#ifndef TOOLHELPER_H
#define TOOLHELPER_H
#include "QMap"
#include "QVariantMap"
#include "QSqlRecord"
#include "QStringList"
#include "QDate"

class ToolHelper
{
public:
    ToolHelper();
    static QString GetSubString(QString str,int index,int len);
    static QVariantMap Convert(QSqlRecord record,QStringList columns);
    static QString GetDateFilter(QDate fromDate,QDate toDate);
};

#endif // TOOLHELPER_H
